const Mock = require('mockjs')

const msg = Mock.mock('@sentence(1, 3)')

module.exports = [
  {
    url: '/pos_admin/pos',
    type: 'post',
    response: () => {
      return {
        Code: 20000,
        Data: {
          ErrMsg: msg,
          Status: 0
        }
      }
    }
  },
  {
    url: '/pos_admin/info',
    type: 'post',
    response: () => {
      return {
        Code: 20000,
        Data: {
          ErrMsg: msg,
          Status: 0
        }
      }
    }
  }
]
